package com.kingint.mbg.ser.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 查房工单详情表
 * </p>
 *
 * @author wxh
 * @since 2020-12-24
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="SerCheckRoom对象", description="查房工单详情表")
public class SerCheckRoom implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "对应工单表id")
    @TableField("work_id")
    private Integer workId;

    @ApiModelProperty(value = "消费品(对应bas_goods集合的json）")
    @TableField("consume_content")
    private String consumeContent;

    @ApiModelProperty(value = "遗留物品(对应bas_items_left集合的json）")
    @TableField("leave_content")
    private String leaveContent;

    @ApiModelProperty(value = "遗留物品备注")
    @TableField("leave_note")
    private String leaveNote;

    @ApiModelProperty(value = "客房状态(对应bas_room_state集合的json）")
    @TableField("room_state_content")
    private String roomStateContent;

    @ApiModelProperty(value = "备注")
    @TableField("note")
    private String note;

    @ApiModelProperty(value = "相关图片url,逗号分隔")
    @TableField("img")
    private String img;

    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    @ApiModelProperty(value = "房间")
    @TableField(exist = false)
    private Integer roomId;

    @ApiModelProperty(value = "是否为前台创建 0：自查 1：非自查")
    @TableField(exist = false)
    private Integer frontDesk;

    @ApiModelProperty(value = "frontDesk为1时需要")
    @TableField(exist = false)
    private Integer userId;

    @ApiModelProperty(value = "frontDesk为1时需要")
    @TableField(exist = false)
    private String userName;

    @ApiModelProperty(value = "总工单")
    @TableField(exist = false)
    private SerWorkOrder serWorkOrder;

    @ApiModelProperty(value = "工单号")
    @TableField(exist = false)
    private String orderSn;

    @ApiModelProperty(value = "工单状态")
    @TableField(exist = false)
    private Integer orderStaus;

    @ApiModelProperty(value = "提交人id")
    @TableField(exist = false)
    private Integer submitUserId;

    @ApiModelProperty(value = "创建时间")
    @TableField(exist = false)
    private Date createTimeWork;

    @ApiModelProperty(value = "房间号")
    @TableField(exist = false)
    private String roomNum;


}
